package me.shiqiang.im.msg;

/**
 * @author cuishiqiang
 * @date 2017/12/5 下午7:58
 */
public class Login{

    private Long userId;
    private String pwd;
    private boolean processor;

    public Login() {
    }

    public Login(Long userId, String pwd) {
        this.userId = userId;
        this.pwd = pwd;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public boolean isProcessor() {
        return processor;
    }

    public void setProcessor(boolean processor) {
        this.processor = processor;
    }

    @Override
    public String toString() {
        return "{" +
                "\"userId\":" + userId +
                ", \"pwd\":\"" + pwd + '"' +
                ", \"processor\":" + processor +
                '}';
    }
}
